package com.onlyphoto.onlymall.bean

import com.onlyphoto.onlymall.base.BaseEntity

import java.util.HashMap

/**
 * Created by gaochujia on 2019-9-28.
 */

class FileBean : BaseEntity() {
    var fileSrc: String? = null                 //文件路径
    var uploadKey: String? = null               //上传文件的字段
    val extraParams = HashMap<String, String>()
    var pos: Int = 0
    private val id: String? = null
    private val name: String? = null

    fun addExtraParams(key: String, value: String) {
        extraParams[key] = value
    }

    override fun toString(): String {
        return "FileBean{" +
                ", fileSrc='" + fileSrc + '\''.toString() +
                ", upLoadKey='" + uploadKey + '\''.toString() +
                ", extarParms=" + extraParams +
                ", pos=" + pos +
                '}'.toString()
    }
}
